<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head >
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
    <form method="post" action="/login">
        <input name="username" type="text" placeholder="请输入账号">
        <input name="password" type="password" placeholder="请输入密码">
        <input name="IDCODE" type="text" placeholder="请输入验证码">
        <div th:text="${IDCODE}"></div>
        <input type="submit" value="提交">
    </form>

<script>

</script>

</body>
</html>